<?php require RCMS_Object_QuickConfig_QuickConfig::PATH_HEADER; ?>
<?php echo $this->headLink()->appendStylesheet($this->websiteUrl . '/system/css/seotoaster.css'); ?>
<?php echo $this->headLink()->appendStylesheet($this->websiteUrl . 'system/js/thickbox/thickbox.css'); ?>
<?php $this->headScript()->appendFile($this->websiteUrl .'system/js/jquery/jquery.js'); ?>
<?php $this->headScript()->appendFile($this->websiteUrl . 'system/js/thickbox/thickbox.js'); ?>
<?php echo $this->headScript(); ?>
<div id="seotoaster" class="admineditrobots">
<div class="admineditwhat"> {%Edit Robots.txt%} </div>
<div class="close_window" onclick="parent.tb_remove();"></div>
<?php if($this->errorMessage): ?>
	<div class="errors" onclick="this.style.display='none';"><?php echo $this->errorMessage; ?></div>
<?php else: ?>
	<?php if($this->successMessage): ?>
    <div class="success" onclick="this.style.display='none';"><?php echo $this->successMessage; ?></div>
	<?php endif; ?>    
<?php echo $this->form; ?>
<?php endif; ?>

	<input type="hidden" id="hid-main-wsurl" name="hid-main-wsurl" value="<?php echo $this->websiteUrl; ?>" />
</div>
<div class="success" id="loading-robots" style="font-size:14px;display: none;">
		Loading Robots.txt...
    </div>